home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 2 / ETO Development Tools 2.iso / Tools - Objects / MacApp / MacApp CD Release / MacApp 2.0.1 (Many Libraries) / Libraries / Dialog.r < prev    next >
Encoding:
Text File  |  1990-10-25  |  1.3 KB  |  75 lines  |  [TEXT/MPS ]

  1. /*
  2.     Dialog.r
  3.     MacApp® Resources for UDialog
  4.     Copyright © 1985 - 1990 Apple Computer, Inc.  All rights reserved.
  5. */
  6.  
  7. /* • Auto-Include the requirements for this source */
  8. #ifndef __TYPES.R__
  9. #include "Types.r"
  10. #endif
  11.  
  12.  
  13. #define        phInvalidValue            300
  14. #define        kInvalidValueReasons    300
  15.  
  16. resource 'STR#' (kInvalidValueReasons,
  17. #if qNames
  18.     "kInvalidValueReasons",
  19. #endif
  20.     purgeable) {
  21.     {    /* [1] */    "Invalid value";
  22.         /* [2] */    "The value is less than the allowed minimum";
  23.         /* [3] */    "The value is greater than the allowed maximum";
  24.         /* [4] */    "The value contains non-numeric characters";
  25.         /* [5] */    "The value contains too many characters";
  26.     }
  27. };
  28.  
  29. resource 'DITL' (phInvalidValue,
  30. #if qNames
  31.     "phInvalidValue",
  32. #endif
  33.     purgeable) {
  34.     {    /* array DITLarray: 3 elements */
  35.         /* [1] */
  36.         {90, 182, 110, 262},
  37.         Button {
  38.             enabled,
  39.             "OK"
  40.         };
  41.         /* [2] */
  42.         {10, 80, 80, 270},
  43.         StaticText {
  44.             disabled,
  45.             "^0; previous value substituted."
  46.         };
  47.         /* [3] */
  48.         {10, 20, 42, 52},
  49.         Icon {
  50.             disabled,
  51.             1
  52.         }
  53.     }
  54. };
  55.  
  56. resource 'ALRT' (phInvalidValue,
  57. #if qNames
  58.     "phInvalidValue",
  59. #endif
  60.     purgeable) {
  61.     {90, 100, 210, 412},
  62.     phInvalidValue,
  63.     {    /* array: 4 elements */
  64.         /* [1] */
  65.         OK, visible, silent;
  66.         /* [2] */
  67.         OK, visible, silent;
  68.         /* [3] */
  69.         OK, visible, silent;
  70.         /* [4] */
  71.         OK, visible, silent
  72.     }
  73. };
  74.  
  75.